package top.continew.admin.business.model.query;

import java.io.Serial;
import java.io.Serializable;
import java.time.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.starter.data.core.annotation.Query;
import top.continew.starter.data.core.enums.QueryType;

/**
 * 知识点树查询条件
 *
 * @author sheng_chao
 * @since 2025/03/05 10:51
 */
@Data
@Schema(description = "知识点树查询条件")
public class KnowledgePointTreeQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @Schema(description = "")
    @Query(type = QueryType.EQ)
    private String name;

    /**
     * 
     */
    @Schema(description = "")
    @Query(type = QueryType.EQ)
    private String describe;

    /**
     * 状态（1：启用；2：禁用）
     */
    @Schema(description = "状态（1：启用；2：禁用）")
    @Query(type = QueryType.EQ)
    private Integer status;

    /**
     * 上级id
     */
    @Schema(description = "上级id")
    @Query(type = QueryType.EQ)
    private Long parentId;
    /**
     * 知识规格id
     */
    @Schema(description = "知识规格id")
    @Query(type = QueryType.EQ)
    private Long specificationTypeId;
}